/**
 * Created by 惜帅 on 2018/7/17.
 * 产品相关api
 */
import * as API from './'

export default {

    //查询获取列表(通过page分页)
    qryByPage: params => {
        return API.GET('/enterprise/qryByPage', params)
    },
    // 添加
    doAddOrUpdate: params => {
        return API.POST('/enterprise/doAddOrUpdate', params)
    },
    // 删除
    doDel: params => {
        return API.DELETE('/enterprise/doDel', params)
    },
    //获取
    getById: params => {
        return API.GET('/enterprise/getById', params)
    },

    //改变状态
    changeState: params => {
        return API.POST('/enterprise/changeIndentityState', params)
    },

    //获取机构认证信息及所有信息
    getEnterpriseIdentityInfos: params => {
        return API.POST('/enterprise/getEnterpriseIdentityInfos', params)
    },

    //获取机构信息及所有信息
    getEnterpriseInfos: params => {
        return API.POST('/enterprise/getEnterpriseInfos', params)
    }
}
